import type { App } from 'vue'
import { dynamicDialogService, DynamicDialogServiceKey } from './service'

const DynamicDialog = {
  install(app: App) {
    app.provide(DynamicDialogServiceKey, dynamicDialogService(app))
  }
}

export default DynamicDialog

import { useDynamicDialog } from './useDynamicDialog'
export { useDynamicDialog }
